import request from '../../utils/request';

export const getHotList = (query) => {
    return request({
        url: '/hot/getTodayHotList',
        method: 'post',
        data: query
    })
}

export const saveTodayHot = (query) => {
    return request({
        url: '/hot/saveTodayHot',
        method: 'post',
        data: query
    })
}

export const updateTodayHot = (query) => {
    return request({
        url: '/hot/updateTodayHot',
        method: 'post',
        data: query
    })
}

export const deleteTodayHot = (query)=>{
    return request({
        url: '/hot/deleteTodayHot',
        method: 'post',
        data: query
    })
}

